<!DOCTYPE html>
<html lang="zh-ch">
<head>
	<meta charset='utf-8'>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="/css/styles.css">
	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
        <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
	<title>饭否</title>
	<style type="text/css">
	body
	{
		margin-top: 60px;
	}
	</style>
</head>

<body>
	<div class="container">
		<div class="role">
			<div class="col-sm-offset-4 col-sm-4">
				<h1>登录到 <small>饭否</small></h1>
			</div>
	    </div>
		<div class="role">
			<div class="col-sm-offset-4 col-sm-4 well">
				<% if(!operate.success&&operate.msg.length>0) {%>
				<div class="alert alert-danger">
                    <i class="fa fa-check"></i><%- operate.msg%>
                </div>
				<% }%>
				<form method="post" action="" role="form">
				<div class="form-group">
					<label for="email">邮箱</label>
					<input type="email" class="form-control" id="email" name="email" placeholder="Email" 
					<% if(loginCookie!=null&&loginCookie.email!=null){ %>
						value="<%= loginCookie.email %>"
					<% } %>>
				</div>

				<div class="form-group">
					<input type="checkbox" name="remember_me"
					<% if(loginCookie!=null&&loginCookie.remember_me!=null&&loginCookie.remember_me==true){ %>
						checked="checked"
					<% } %>> 记住我
				</div>

				<div class="form-group">
				 	<button type="submit" class="btn btn-primary btn-lg btn-block">登录</button>
				</div>
				
				<div class="form-group">
					<pre>没有帐号? 
请发送邮件给 ravior@qq.com
邮件标题: "申请饭否帐号"
邮件内容: "你的真实姓名, 你的邮箱"
                    </pre>
                </div>
			    </form>
			</div>
		</div>
	</div>	
</body>
</html>